function randomStrTimes(times = 1) {
  let result = '';
  for (let i = 0; i < times; i++) {
    result += Math.random().toString(32).slice(2).toUpperCase();
  }
  return result;
}

module.exports = {
  randomStrTimes
}
